package layouts.tests;

import javax.swing.JButton;
import javax.swing.JPanel;

import layouts.StuLayout;

public class StuLayoutTestPanel extends JPanel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private StuLayout	layout;
	
	
	public StuLayoutTestPanel() {
		
		JButton	B = new JButton("Press me");
		
		layout = new StuLayout();
		
		layout.addCol(100);
		layout.addCol(200);
		layout.addCol(300);
		
		layout.addRow(100);
		layout.addRow(200);
		layout.addRow(300);
		
		layout.putComponent(B, 1 , 1, 1, 1);

		
		setVisible(true);
		
	}
}
